from tornado_request_mapping import Route

from common_bind_service.handlers.http_handler.code_generation_handler import CodeGenerationHandler
from common_bind_service.handlers.http_handler.container_mark_config_handler import ContainerMarkConfigHandler
from common_bind_service.handlers.http_handler.upperpc_container_handler import UpperPcContainerHandler

# 可以使用传统的url管理方式
# url = [
#     (r'/api/common_bind_service', WebHandler),
# ]

url = []

r = Route(prefix='/api/common_bind_service')
r.register(UpperPcContainerHandler)
r.register(ContainerMarkConfigHandler)
r.register(CodeGenerationHandler)

url.extend(r.host_handlers)
